package com.java2404.micro.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author HP
 */
@SpringBootApplication
@EnableDiscoveryClient
public class GateWayMainApplication {
    /**
     * 程序的入口点
     * 使用Spring Boot框架启动GateWayMainApplication应用程序
     */
    public static void main(String[] args) {
        // 在启动应用程序时传递给SpringApplication
        SpringApplication.run(GateWayMainApplication.class,args);
    }
}
